<?php
declare(strict_types=1);
namespace Service\DeliveryService\DeliveryCompany;
use Service\BaseService;
use Service\DeliveryService\ExpressDeliveryService;


class NormalCompany extends BaseService
{
    
    public function dealDelivery($body,$response)
    {
        /**
         * 处理数据映射然后再调用业务处理,默认返回标准json格式,如需返回文本,调用:$response->raw('success');
         */
        $expressNo=$body['expressNo'];
        $status=$body['status'];
        $receivemobile=$body['mobile']??'';
        return ExpressDeliveryService::instance()->OrderDelivery($expressNo, $status, $receivemobile);
        
    }
}